﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TWCRM.Entity;

namespace TWCRM.Models.Home
{
    public class AccountModel
    {
        public Guid ID { get; set; }
        public bool IsNew { get; set; }

        public string Name { get; set; }
        public string Password { get; set; }

        public bool Effective { get; set; }
        public string EffectiveStr
        {
            get
            {
                return Effective ? "是" : "否";
            }
        }

        public string Authority { get; set; }
        public List<UserAuthority> AuthorityList { get; set; }
    }
}